{% extends 'users/basic.html' %}
{% block body_content %}
<div class="container">
  <div class="row margin-t-10">
    {% if user.is_authenticated %}
      <div class="col-xs-6 col-sm-6 col-md-8">您好，{{ request.user.nickname }}</div>
      <div class="col-xs-6 col-sm-6 col-md-4">
        <a href="">注册账号</a> | <a href="">退出</a> | <a href="">修改密码</a>
      </div>
    {% else %}
      <div class="col-md-8">您好，您还没有登录</div>
      <div class="col-md-4">
        <a href="">注册账号</a> | <a href="">登录</a>
      </div>
    {% endif %}
  </div>
  <div class="padding-t-100 text-center">
    <h1>Welcome to DongNao!</h1>
  </div>
</div>
{% endblock %}